<html>
<head><meta charset="utf-8"><title>unable to load LLVM .so file · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html">unable to load LLVM .so file</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="240556429"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240556429" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240556429">(May 28 2021 at 02:56)</a>:</h4>
<p>While trying to bless the tests for stabilizing <code>const_fn_transmute</code>, I ran <code>x t --bless --stage 1 --test-args consts/const-eval/validate_uninhabited_zsts.rs</code>. This failed with the following error:</p>
<blockquote>
<p>/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage0-tools-bin/error_index_generator: error while loading shared libraries: <a href="http://libLLVM-12-rust-1.54.0-nightly.so">libLLVM-12-rust-1.54.0-nightly.so</a>: cannot open shared object file: No such file or directory<br>
command did not execute successfully: "/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage0-tools-bin/error_index_generator" "html" "/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/doc/error-index.html" "1.54.0"</p>
</blockquote>
<p>A quick search shows that <span class="user-mention" data-user-id="120791">@RalfJ</span> ran across this a couple weeks ago in <a href="https://github.com/rust-lang/rust/issues/85109">#85109</a>, but it didn't look like he actually figured out what the problem was. I <em>am</em> using stage 1, so that's not the issue.</p>
<p>Any ideas?</p>



<a name="240583444"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240583444" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240583444">(May 28 2021 at 09:54)</a>:</h4>
<p><span class="user-mention" data-user-id="245610">@Jacob Pratt</span> <a href="https://github.com/rust-lang/rust/issues/80096">https://github.com/rust-lang/rust/issues/80096</a></p>



<a name="240593495"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240593495" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240593495">(May 28 2021 at 11:54)</a>:</h4>
<p>I saw that. Wasn't sure if there was some workaround. Pretty sure the alternative is running CI and manually blessing tests one at a time which would be super tedious.</p>



<a name="240593558"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240593558" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240593558">(May 28 2021 at 11:55)</a>:</h4>
<p>I'll check later, but I'm pretty sure I have the profile set to compiler as well.</p>



<a name="240635930"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240635930" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240635930">(May 28 2021 at 17:28)</a>:</h4>
<p><span class="user-mention" data-user-id="245610">@Jacob Pratt</span> --stage 2 should work</p>



<a name="240659471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240659471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240659471">(May 28 2021 at 20:54)</a>:</h4>
<p>Well, it avoided that error at least. Not entirely sure what this error is though. Certainly unrelated to anything I'm working on.</p>
<div class="codehilite"><pre><span></span><code>---- [run-make] run-make-fulldeps/print-unversioned-files stdout ----

error: make failed
status: exit status: 2
command: &quot;make&quot;
stdout:
------------------------------------------
LD_LIBRARY_PATH=&quot;/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/print-unversioned-files/print-unversioned-files:/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage2/lib:/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage0/lib&quot; &#39;/home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc&#39; -L /home/jhpratt/code/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib -Z unstable-options --print unversioned-files | sort | diff - unversioned-files.txt
9,10d8
&lt; noto-sans-kr-v13-korean-regular-LICENSE.txt
&lt; noto-sans-kr-v13-korean-regular.woff
18a17,18
&gt; noto-sans-kr-v13-korean-regular-LICENSE.txt
&gt; noto-sans-kr-v13-korean-regular.woff

------------------------------------------
stderr:
------------------------------------------
make: *** [Makefile:4: all] Error 1

------------------------------------------
</code></pre></div>



<a name="240682984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240682984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240682984">(May 29 2021 at 04:44)</a>:</h4>
<p><span class="user-mention" data-user-id="245610">@Jacob Pratt</span> <a href="https://github.com/rust-lang/rust/pull/85770">https://github.com/rust-lang/rust/pull/85770</a></p>



<a name="240686851"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240686851" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240686851">(May 29 2021 at 06:29)</a>:</h4>
<p>Guess it'll be easiest to just wait for that one to land.</p>



<a name="240693067"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240693067" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jacob Pratt <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240693067">(May 29 2021 at 09:21)</a>:</h4>
<p><span class="user-mention" data-user-id="124288">@oli</span> This is where it came up ^^</p>



<a name="240696012"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/unable%20to%20load%20LLVM%20.so%20file/near/240696012" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/unable.20to.20load.20LLVM.20.2Eso.20file.html#240696012">(May 29 2021 at 10:47)</a>:</h4>
<p>O_o</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>